package com.h.heal.service;

import com.h.heal.common.MyPageInfo;
import com.h.heal.entity.Video;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface VideoService {
    List<Video> findAll();

    void deleteById(int id);
//视频名查找视频
    List<Video> findByvideo_vname(String video_vname);
//用户名查找视频
    List<Video> findByvideo_uid(String video_uid);

    String create(Video video);

    Video findById(int id);

    String edit(Video video);


    MyPageInfo findBySearch(HttpServletRequest request);

    MyPageInfo findBySearchUser(HttpServletRequest request);
}
